package com.mdd.admin.validate.time;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author kn4im3
 * @date 2023/3/9 10:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TimeParam implements Serializable {
    private static final long serialVersionUID = -1469327614432241387L;

    public interface create{}
    public interface update{}
    public interface delete{}

    @NotNull(message = "请填写可预约时间", groups = {create.class})
    private Integer time;
    private List<OrderTimeParam> orderTimeList;
}
